<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <form action="http://www.baidu.com" method="get" name="myform">
        <input type="text" name="firstname" placeholder="第一姓氏"></input>
        <input type="text" name="secondname" placeholder="第二姓氏"></input>
        <br>
        <br>
        username:
        <input type="text" name="username" placeholder="请输入用户名"></input>
        <br>
        password:
        <input type="password" name="password" placeholder="请输入密码"></input>
        <input type="submit" value="登录"></input>
    </form>

    <form action="http://www.baidu.com" method="get" name="myform2">
        <input type="radio" name="sex" value="1">男
        <input type="radio" name="sex" value="0">女
    </form>

    <form action="http://www.baidu.com" method="get" name="myform3">
        <input type="checkbox" name="hobby" value="1">篮球
        <input type="checkbox" name="hobby" value="0">足球
        <input type="checkbox" name="hobby" value="2">跑步
        <br>
        <input type="reset" value="重置">
        <input type="submit" value="提交">

    </form>

    <form>
        <input type="file" name="myfile">
        <input type="submit" value="上传">
    </form>

    <form>
        <input type="submit" value="登录">

    </form>

    <form>
        <button>提交</button>
        <button type="submit">提交</button>
    </form>

    <form>
        <input type="image" src="https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png" />
    </form>

</body>

</html>